package vns.client.service;

import java.util.ArrayList;
import java.util.List;

import vns.shared.RuleParamDTO;
import vns.shared.RoleDTO;

import com.google.appengine.api.datastore.Key;
import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

@RemoteServiceRelativePath("roleService")
public interface RoleService extends RemoteService{
	RoleDTO Create(RoleDTO roleDTo);
	boolean Remove(Key id);
	RoleDTO Loadbyid(Key id);
	RoleDTO Update(RoleDTO roleDTO);
	ArrayList<RoleDTO> Loadall();
	void Updateall(List<RoleDTO> listNew);
}
